package homework.work3;

public class Main{
    public static void main(String[] args) throws CloneNotSupportedException {
//        Star star = new Star();
//        Student stu = new Student(12,"xs",star);
        Teacher teacher = new Teacher();
        Teacher teacher1=teacher.clone();

        System.out.println(teacher1== teacher);
        //注意：由于都指向null、故为true
        System.out.println(teacher1.stu== teacher.stu);




    }
}
